package com.quanyue.haircut.user.dto;

import com.quanyue.haircut.domain.entity.HaircutMerchant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;


@Data
@Table
public class MerchantDetail extends HaircutMerchant {
    @Column(name = "manager_id")
    @ApiModelProperty(required = true, value = "")
    private Integer managerId;
    @Column(name = "image")
    @ApiModelProperty(required = true, value = "管理员头像")
    private String image;
    @Column(name = "user_name")
    @ApiModelProperty(required = true, value = "账号")
    private String userName;
    @Column(name = "password")
    @ApiModelProperty(required = true, value = "密码")
    private String password;
    @Column(name = "nick_name")
    @ApiModelProperty(required = true, value = "昵称")
    private String nickName;
    @Column(name = "merchant_number")
    @ApiModelProperty(required = true, value = "商户号")
    private Integer merchantNumber;
    @ApiModelProperty(value = "商户总营业额")
    private BigDecimal merchantTurnover;
}
